package com.example.demo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.time.LocalDateTime;

// 钱包
@Data
@NoArgsConstructor
@ToString
@EqualsAndHashCode
public class Wallets {

    // 钱包主键
    @TableId(type = IdType.AUTO)
    private Integer id;

    // 关联用户
    private Integer user_id;

    // 钱包余额
    private Double balance;

}
